Namespace: OtlParallel

Unit globals OtlParallel


public unit globals OtlParallel


Field Summary
  internal  System.Smallint CDefaultPipelineThrottle
 
  internal  OtlThreadPool.IOmniThreadPool GParallelPool
 
  internal  MSG_WORK_ITEM_DONE
 
 

Method Summary
  public Sub AddToBC(queue: OtlCollections.IOmniBlockingCollection ; value: IInterface)
 
  public function IOmniAwait Async(proc: TProc)
 
  public function OtlThreadPool.IOmniThreadPool GlobalParallelPool()
 
 

Field Detail

CDefaultPipelineThrottle

internal const CDefaultPipelineThrottle: System.Smallint = 10240
Initial
10240
Const
True

GParallelPool

internal GParallelPool: OtlThreadPool.IOmniThreadPool 
Const
False
Type
IOmniThreadPool

MSG_WORK_ITEM_DONE

internal const MSG_WORK_ITEM_DONE:  = WM_USER
Initial
WM_USER
Const
True

Method Detail

AddToBC

public procedure AddToBC(queue: OtlCollections.IOmniBlockingCollection ; value: IInterface)

Async

public function Async(proc: TProc): IOmniAwait 
Returns
IOmniAwait

GlobalParallelPool

public function GlobalParallelPool(): OtlThreadPool.IOmniThreadPool 
returns
Global pool used for all OtlParallel constructs.
Returns
IOmniThreadPool

Association Link

to Interface IOmniThreadPool

Supplier
IOmniThreadPool
Directed
False
Client
GParallelPool
Type
association